using System;

namespace DapperExtensionsNew.Data.Descriptors
{
	internal class ColumnDescriptor
	{
		public string Name
		{
			get;
			set;
		}

		public string DbName
		{
			get;
			set;
		}

		public bool IsPrimaryKey
		{
			get;
			set;
		}

		public bool IsDeletedKey
		{
			get;
			set;
		}

		public bool IsNotGenWhereCondition
		{
			get;
			set;
		}

		public bool AutoIncrement
		{
			get;
			set;
		}

		public bool NotUpdate
		{
			get;
			set;
		}

		public string TypeName
		{
			get;
			set;
		}

		public Action<object, object> SetKeyValue
		{
			get;
			set;
		}

		public Func<object, object> GetKeyValue
		{
			get;
			set;
		}
	}
}
